package cn.qzit.menu;

import javax.swing.*;

/**
 * ClassName : cn.qzit.menu.MineMenuBar
 * Desc : 菜单栏
 *
 * @author : LINPQ
 * @date : 2022/4/13 14:44
 */
public class MineMenuBar extends JMenuBar {

    public MineMenuBar(){
        JMenu game = new JMenu("游戏");
        JMenu help = new JMenu("帮助");

        JMenuItem start = new JMenuItem("开局");

        game.add(start);

        this.add(game);
        this.add(help);
    }
}
